PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\CreditCardGateway S

Total Complexity 26
Dependencies 3
Dependents 4
Total lines 401
Lines of code 334
Logical lines of code 56
Comment lines 20
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
28
2 186
validate_card_icons_field()
S
49 7 27
get_payment_method_data()
S
46 1 46
add_payment_complete_note()
S
58 2 17
show_card_save_checkbox()
S
68 3 7
admin_options()
S
70 2 6
is_express_section_enabled()
S
75 2 4
get_admin_script_dependencies()
S
59 1 14
__construct()
S
64 1 9
express_checkout_fields()
S
74 1 4
get_checkout_script_handles()
S
73 1 5
is_cardholder_name_enabled()
S
79 1 3
is_3ds_enabled()
S
79 1 3
is_fastlane_enabled()
S
78 1 3